import React from "react";
import styles from './loading.module.css'

export default class Loading extends React.Component{
    render() {
        return (
            <div className={styles.spinner}>
                <div style={this.props.style} className={styles.cube1}></div>
                <div style={this.props.style} className={styles.cube2}></div>
            </div>
        );
    }

}